FROM tiangolo/uwsgi-nginx-flask:python3.10

WORKDIR /app

COPY app /app/app
COPY requirements.txt /app/requirements.txt

RUN pip install --no-cache-dir -r /app/requirements.txt

ENV MODULE_NAME=app.main
ENV VARIABLE_NAME=app

CMD ["python", "/app/app/main.py"]

EXPOSE 5000 